package com.easy.service;

import com.easy.bean.Attraction;
import com.easy.bean.User;
import com.easy.util.Page;

import java.util.List;

public interface AttractionService {
    Attraction add(Attraction attraction);
    int del(Integer id);
    Attraction edit(Attraction attraction);
    List<Attraction> all(Attraction attraction);
   Attraction one(Integer id);
    void page(Page page, Attraction attraction);
    // 新增方法：根据城市和偏好获取景点
    List<Attraction> getByCityAndPreferences(String city, String preferences);
}
